package com.pkk.spring.cloud.starter.rpc.annotation;

import com.pkk.spring.cloud.starter.rpc.common.ResponseHandle;
import com.pkk.spring.cloud.starter.rpc.converter.MessageConverterConfig;
import com.pkk.spring.cloud.starter.rpc.mvc.MessageConverterOrderWebMvcConfigurer;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Import;

/**
 * 启动全局响应
 *
 * @author peikunkun
 * @version V1.0
 * @date 2021-01-06 17:33
 **/
@Inherited
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({ResponseHandle.class, MessageConverterConfig.class, MessageConverterOrderWebMvcConfigurer.class})
public @interface EnableGlobalResponse {
}
